package com.molichuxing.services.infrastructure.service;


import com.molichuxing.services.infrastructure.dto.request.create.AccidentDriveCreateDto;
import com.molichuxing.services.infrastructure.dto.response.AccidentCaseDto;
import com.molichuxing.services.infrastructure.dto.response.AccidentDriveDto;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 车辆事故 驾驶人 服务
 * </p>
 *
 * @author 
 * @since 2019-08-15
 */
public interface AccidentDriveService {

  /**
   * 根据事故id获取驾驶人信息
   * @param accidentId
   * @return
   */
  AccidentDriveDto getCarAccidentDrive(Integer accidentId);


  /**
   * 创建事故驾驶人信息
   * @param accidentDriveCreateDto
   * @return
   */
  Boolean createAccidentDrive(AccidentDriveCreateDto accidentDriveCreateDto);


  /**
   * 修改事故驾驶人信息
   * @param accidentDriveCreateDto
   * @return
   */
  int updateAccidentDriveById(AccidentDriveCreateDto accidentDriveCreateDto);
}
